﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SAM_Edu.entity
{
    public class Accounts
    {
        private int userid;
        private string username;
        private string password;
        private string securityQuestion;
        private string securityAnswer;
        private string rfidNum;
        public Accounts()
        {
        }
        public Accounts(string uname, string pw, string SQ, string SA, string rfidno, int uid)
        {
            username = uname;
            password = pw;
            securityQuestion = SQ;
            securityAnswer = SA;
            rfidNum = rfidno;
            userid = uid;
        }

        public Accounts(string uname)
        {
            username = uname;


        }
        public string Username
        {
            get
            {
                return this.username;
            }
            set
            {
                this.username = value;
            }
        }
        public string Password
        {
            get
            {
                return this.password;
            }
            set
            {
                this.password = value;
            }
        }
        public string SecurityQuestion
        {
            get
            {
                return this.securityQuestion;
            }
            set
            {
                this.securityQuestion = value;
            }
        }
        public string SecurityAnswer
        {
            get
            {
                return this.securityAnswer;
            }
            set
            {
                this.securityAnswer = value;
            }
        }
        public string RfidNum
        {
            get
            {
                return this.rfidNum;
            }
            set
            {
                this.rfidNum = value;
            }
        }
        public int UserID
        {
            get
            {
                return this.userid;
            }
            set
            {
                this.userid = value;
            }
        }
    }
}
